srcdir       = @srcdir@
top_builddir = @top_builddir@
top_srcdir   = @top_srcdir@

SCM_CATEGORY = file

include ../Makefile.ext

LIBFILES = file--util.$(SOEXT)
SCMFILES = util.sci

GENERATED = Makefile
XCLEANFILES = *.c util.sci

OBJECTS = file--util.$(OBJEXT)

all : $(LIBFILES)

file--util.$(SOEXT) : $(OBJECTS)
	$(MODLINK) file--util.$(SOEXT) $(OBJECTS) $(EXT_LIBGAUCHE) $(LIBS)

file--util.c util.sci : $(top_srcdir)/libsrc/file/util.scm
	$(PRECOMP) -e -P -o file--util $(top_srcdir)/libsrc/file/util.scm

install : install-std

